package com.supermarket.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.supermarket.common.core.web.domain.AjaxResult;
import com.supermarket.user.domain.User;
import com.supermarket.user.domain.dto.IntegralDto;
import com.supermarket.user.domain.dto.UserDto;
import com.supermarket.user.domain.vo.UserVo;

import java.util.List;

public interface UserService extends IService<User> {
    List<UserVo> list(UserDto userDto);

    AjaxResult setTag(String tagIds, String userIds);

    AjaxResult updateIntegral(IntegralDto integralDto);

    AjaxResult updateLevel(Long userId, Long memberLevelId);

    AjaxResult freeze(String userId, String status);

    AjaxResult addCoupon(String userIds, String couponIds);

    AjaxResult updateUser(User user);

    AjaxResult userDetail(Long userId);
}
